import request from '@/api/http.js'
export default {
  userInfo(params) {
    return request.get('/account.User/userInfo', { params })
  },

  updateUserLevel(data) {
    return request.post('/account.User/userLevel', data)
  },

  userAttachment(params) {
    return request.get('/account.User/attachment', { params })
  },

  otherUserAttachment(params) {
    return request.get('/account.User/attachmentByOtherUser', { params })
  },

  updateUserInfo(data) {
    return request.post('/account.User/userInfo', data)
  },

  recommendUsers(params) {
    return request.get('/account.User/recommendUsers', { params })
  },

  joinCircles(data) {
    return request.post('/account.User/joinCircles', data)
  },

  joinCirclesLists(params) {
    return request.get('/account.User/joinCirclesLists', { params })
  },

  manageCirclesLists(params) {
    return request.get('/account.User/manageCirclesLists', { params })
  },

  exitCircles(data) {
    return request.post('/account.User/exitCircles', data)
  },

  userFansList(params) {
    return request.get('/account.User/fans', { params })
  },

  userVisitorList(params) {
    return request.get('/account.User/visitor', { params })
  },

  userFollowList(params) {
    return request.get('/account.User/follow', { params })
  },

  scoreLog(params) {
    return request.get('/account.User/score', { params })
  },

  userLabels(params) {
    return request.get('/account.User/labels', { params })
  },

  followUser(data) {
    return request.post('/account.User/follow', data)
  },

  circlesFootprint(data) {
    return request.post('/account.User/circlesFootprint', data)
  },

  getCirclesFootprint(params) {
    return request.get('/account.User/circlesFootprint', { params })
  },

  mineReply(params) {
    return request.get('/account.User/reply', { params })
  },

  userJoinOb(params) {
    return request.get('/account.User/obJoin', { params })
  },

  vipPackage() {
    return request.get('/account.Vip/vip')
  },

  vipEquity() {
    return request.get('/account.Vip/equity')
  },

  vipBuy(data) {
    return request.post('/account.Vip/vipBuy', data)
  },

  sendChatMessages(data) {
    return request.post('/chats.Chats/sendMessages', data)
  },

  chatLists(params) {
    return request.get('/chats.Chats/lists', { params })
  },

  chatDetail(params) {
    return request.get('/chats.Chats/detail', { params })
  },
}
